package com.ruoyi.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务分析结果明细对象 task_detail_result
 *
 * @author huangshibao
 * @date 2025-06-18
 */
public class TaskDetailResult extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long priKey;

    /**
     * 唯一UUID（导数给关联系统）
     */
    private String id;

    /**
     * 任务ID
     */
    @Excel(name = "任务ID")
    private String taskId;

    /**
     * 分行编号
     */
    @Excel(name = "分行编号")
    private String branchCode;

    /**
     * 分行名称
     */
    @Excel(name = "分行名称")
    private String branchName;

    /**
     * 支行编号
     */
    @Excel(name = "支行编号")
    private String deptCode;

    /**
     * 支行名称
     */
    @Excel(name = "支行名称")
    private String deptName;

    /**
     * 摄像头名称
     */
    @Excel(name = "摄像头名称")
    private String cameraName;

    /**
     * 场景编号
     */
    @Excel(name = "场景编号", dictType= "task_scenarios_type")
    private String scenariosType;

    /**
     * 场景名称
     */
    @Excel(name = "场景名称")
    private String scenariosName;

    /**
     * 风险原因
     */
    @Excel(name = "风险原因")
    private String riskReason;

    /**
     * 风险开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "风险开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 风险结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "风险结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 检查状态(0:待复核；1:已复核)
     */
    @Excel(name = "检查状态(0:待复核；1:已复核)")
    private String checkStatus;

    /**
     * 结果状态(0:不准确；1:准备)
     */
    @Excel(name = "结果状态(0:不违规；1:违规)")
    private String resultStatus;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 任务类型：1=总行任务,2=分行任务
     */
    @Excel(name = "任务类型", readConverterExp = "1=总行任务,2=分行任务,3=浩云分行")
    private String taskType;

    public void setPriKey(Long priKey) {
        this.priKey = priKey;
    }

    public Long getPriKey() {
        return priKey;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setScenariosType(String scenariosType) {
        this.scenariosType = scenariosType;
    }

    public String getScenariosType() {
        return scenariosType;
    }

    public void setScenariosName(String scenariosName) {
        this.scenariosName = scenariosName;
    }

    public String getScenariosName() {
        return scenariosName;
    }

    public void setRiskReason(String riskReason) {
        this.riskReason = riskReason;
    }

    public String getRiskReason() {
        return riskReason;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setResultStatus(String resultStatus) {
        this.resultStatus = resultStatus;
    }

    public String getResultStatus() {
        return resultStatus;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("priKey", getPriKey())
                .append("id", getId())
                .append("taskId", getTaskId())
                .append("branchCode", getBranchCode())
                .append("branchName", getBranchName())
                .append("deptCode", getDeptCode())
                .append("deptName", getDeptName())
                .append("cameraName", getCameraName())
                .append("scenariosType", getScenariosType())
                .append("scenariosName", getScenariosName())
                .append("riskReason", getRiskReason())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("checkStatus", getCheckStatus())
                .append("resultStatus", getResultStatus())
                .append("remark", getRemark())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("taskType", getTaskType())
                .toString();
    }
}
